package com.easy.service;

import com.easy.dao.IOrderDao;
import com.easy.entity.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName OrderService
 * @Description TODO
 * @Author 周轩霆
 * @Date 2022/5/31 15:03
 **/
@Service
public class OrderService {

	@Autowired
	private IOrderDao iOrderDao;

	public List<Order> getRoomOrder(Map params) {

		return iOrderDao.getRoomOrder(params);
	}

	public List<Map> incomeday(Map params) {

		return iOrderDao.incomeday(params);
	}

	public List<Map> incomemonth(Map params) {

		return iOrderDao.incomemonth(params);
	}

	public List<Map> incomeyear(Map params) {

		return iOrderDao.incomeyear(params);
	}

	public List<Map> consumption(Map params) {

		return iOrderDao.consumption(params);
	}
}
